package com.lwj.designpattern.create.factory.entity;

/**
 * @auther wujilee
 * @date 2022/11/15
 */

public  abstract class Car {
    public   String color;
    public  abstract  void carColor();
    public  void carSpeed(){
        System.out.println("工厂正在生产%汽车，速度是 100km/h ,"+color);
    }
    public  void carPrice(){
        System.out.println("工厂正在生产%汽车，价格是30w ,"+color);
    }


}
